package com.cqrcb.cloud.entity.activity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
* Class
* Activity
*
* @author 系统
* @created Create Time: Fri Jun 04 14:07:57 CST 2021
*/
@ApiModel(value="com.cqrcb.cloud.entity.activity.Activity",description="")
@Data()
public class Activity {
    /**
     * 
     */
    @ApiModelProperty(value="",name="id")
    private Long id;

    /**
     * 
     */
    @ApiModelProperty(value="",name="name")
    @Length(max = 200, message = "名长度最长为200")
    private String name;

    /**
     * 
     */
    @ApiModelProperty(value="",name="type")
    private Integer type;

    /**
     * 
     */
    @ApiModelProperty(value="",name="beginTime")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date beginTime;

    /**
     * 
     */
    @ApiModelProperty(value="",name="endTime")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date endTime;

    /**
     * 
     */
        @ApiModelProperty(value="",name="status")
    @Length(max = 255, message = "名长度最长为255")
    private String status;

    /**
     * 
     */
    @ApiModelProperty(value="",name="createTime")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date createTime;
}